package com.njust.RateMyTray_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njust.RateMyTray_backend.dto.FavoriteCreateDTO;
import com.njust.RateMyTray_backend.entity.Favorite;
import com.njust.RateMyTray_backend.vo.FavoriteVO;

import java.util.List;

public interface FavoriteService extends IService<Favorite> {
    Favorite addFavorite(Long userId, FavoriteCreateDTO createDTO);
    void removeFavorite(Long userId, Long favoriteId);
    List<FavoriteVO> getFavorites(Long userId, String targetType);
} 